﻿using System;
using System.ComponentModel;

namespace Gx.Model.Enums
{
    /// <summary>
    /// 考勤枚举
    /// </summary>
    public enum AttendanceEnum
    {
        /// <summary>
        /// 异常
        /// </summary>
        [Description("异常")]
        Untreated = 0,
        /// <summary>
        /// 正常
        /// </summary>
        [Description("正常")]
        Normal = 1,

        /// <summary>
        /// 迟到
        /// </summary>
        [Description("迟到")]
        Late = 2,

        /// <summary>
        /// 早退
        /// </summary>
        [Description("早退")]
        LeaveEarly = 3,

        /// <summary>
        /// 旷工或未打卡
        /// </summary>
        [Description("旷工或未打卡")]
        Absenteeism = 4,

        /// <summary>
        /// 加班
        /// </summary>
        [Description("加班")]
        OverTime = 5,


        /// <summary>
        ///  请假
        /// </summary>
        [Description("请假")]
        Leave = 6,

        /// <summary>
        ///  迟到并加班
        /// </summary>
        [Description("迟到且加班")]
        LateOverTime = 7,

        /// <summary>
        ///  迟到并早退
        /// </summary>
        [Description("迟到且早退")]
        LateLeaveEarly = 8,

        /// <summary>
        /// 
        /// </summary>
        [Description("迟到且请假")]
        LateLeave = 9,


    }

    /// <summary>
    /// 考勤是否异常
    /// </summary>
    public enum ExceptionStatus
    {
        /// <summary>
        /// 异常
        /// </summary>
        [Description("异常")]
        Exception = 0,

        /// <summary>
        /// 正常
        /// </summary>
        [Description("正常")]
        Normal = 1,
    }
}
